package cn.miaoyao.miaoyaoms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2023-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_article")
@ApiModel(value="Article对象", description="")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "标题")
    @TableField("articleTitle")
    private String articletitle;

    @ApiModelProperty(value = "正文")
    private String body;

    @ApiModelProperty(value = "用户id")
    private Integer uid;
    @ApiModelProperty(value = "发布时间")
    @TableField("releaseTime")
    private Date releasetime;


}
